#pragma once


class CLoginState;

class CLoginWnd :
	public CD3DWnd
{
protected:
	CLoginState *	m_pState;
public:
	CLoginWnd(void);
	CLoginWnd(CD3DGUI * pGUI);
	virtual ~CLoginWnd(void);

	void SetState(CLoginState * pState)
	{
		m_pState=pState;
	}

	virtual BOOL OnMessage(CD3DWnd * pWnd,UINT msg, WPARAM wParam, LPARAM lParam);

protected:
	void DoLogin();
};
